chore(deps): update dependency yaml to v2.8.4#5812
Conversation
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
There was a problem hiding this comment.
Code Review: yaml 2.8.3 → 2.8.4 dependency bump
This is a clean, low-risk Renovate dependency update to the yaml package used in the docs/ site tooling.
What changed in yaml 2.8.4:
- Security/correctness:
maxAliasCount:0now properly disables alias resolution — fixes a potential YAML alias-bomb (DoS) vector when parsing untrusted input. - Bug fix: Invalid unicode escapes are now handled gracefully instead of throwing.
- Bug fix:
minFractionDigitscorrectly applied only to decimal strings.
Assessment:
The changes are isolated to docs/package.json and docs/yarn.lock — no impact on TUnit's core engine, source generator, or test infrastructure. The patch version bump follows semver (no breaking changes expected), and the release notes confirm only bug/correctness fixes.
The YAML alias resolution fix is the most notable change: if the docs build ever parses untrusted YAML input, this patch reduces risk. Even for trusted input it's a correctness improvement.
✅ No concerns. Safe to merge.
Code Review: yaml 2.8.3 → 2.8.4 dependency bumpThis is a clean, low-risk Renovate dependency update to the What changed in yaml 2.8.4:
Assessment: The changes are isolated to The YAML alias resolution fix is the most notable change: if the docs build ever parses untrusted YAML input, this patch reduces risk. Even for trusted input it's a correctness improvement. ✅ No concerns. Safe to merge. |
There was a problem hiding this comment.
Updated Review: second commit added after initial review
The previous review (09:32) only covered the Renovate dep bump. A second commit was pushed at 14:36 — "test(aspnet): avoid shared factory order race" — that modifies FactoryMethodOrderTests.cs. This deserves its own review pass.
Scope concern
A test fix was pushed onto a Renovate dep-bump PR. The PR title/description still only mention the yaml update. Automerge is enabled on this PR — that means this test change goes in with less scrutiny than if it had its own PR. Not a blocker, but worth being explicit: if this intentional, the PR description should note the test change.
Test change: FactoryMethodOrderTests.cs
What changed: The test Factory_ConfigureWebHost_Runs_After_SetupAsync is renamed to ConfigureWebHostBuilder_Runs_After_SetupAsync, and its fragile conditional guard is replaced with unconditional assertions.
This is an improvement. The old code:
if (FactoryConfigureWebHostCalledOrder > 0)
{
await Assert.That(FactoryConfigureWebHostCalledOrder)
.IsGreaterThan(SetupCalledOrder)...
}silently swallowed the entire assertion when the shared factory was already initialized from a previous test. A test that never asserts is worse than a skipped test — it gives a false green.
The new version correctly separates two distinct concerns:
- Global factory initialization happened — verified via
GlobalFactory.ConfigureWebHostCallCount > 0 - Per-test configuration runs after SetupAsync — verified via
ConfigureWebHostBuilderCalledOrder > SetupCalledOrder
This is a better abstraction: shared state and per-instance ordering are now tested independently rather than entangled behind a conditional.
One question: The class-level doc comment previously listed both Factory.ConfigureWebHost (order 3) and Factory.ConfigureStartupConfiguration (order 4). The update removes ConfigureStartupConfiguration from the list. Is that intentional? The test for ConfigureStartupCallCount still exists in the class (line 35 of the diff context), so if the ordering documentation was accurate before, it may now be incomplete.
Verdict
The test change is a genuine correctness improvement — unconditional assertions over a conditional no-op is always better. The rename more accurately reflects what's being tested. The only flag is the scope mismatch (test fix in a dep-bump PR) and the potentially incomplete doc comment.
✅ Safe to merge once the ConfigureStartupConfiguration doc omission is confirmed intentional.
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
Updated [TUnit.Core](https://github.com/thomhurst/TUnit) from 1.40.10 to 1.43.11. <details> <summary>Release notes</summary> _Sourced from [TUnit.Core's releases](https://github.com/thomhurst/TUnit/releases)._ ## 1.43.11 <!-- Release notes generated using configuration in .github/release.yml at v1.43.11 --> ## What's Changed ### Other Changes * perf(engine): skip execution ledger for independent tests by @thomhurst in thomhurst/TUnit#5813 * perf(engine): skip tracked object graph rediscovery by @thomhurst in thomhurst/TUnit#5814 * fix: suppress XML doc warnings in generated sources by @mvanhorn in thomhurst/TUnit#5797 * Fix xUnit Throws migration docs by @thomhurst in thomhurst/TUnit#5819 * Fix Should optional overload generation by @thomhurst in thomhurst/TUnit#5820 ### Dependencies * chore(deps): update dependency mockolate to 3.1.0 by @thomhurst in thomhurst/TUnit#5811 * chore(deps): update tunit to 1.43.2 by @thomhurst in thomhurst/TUnit#5809 * chore(deps): update dependency nunit.analyzers to 4.13.0 by @thomhurst in thomhurst/TUnit#5815 * chore(deps): update dependency yaml to v2.8.4 by @thomhurst in thomhurst/TUnit#5812 ## New Contributors * @mvanhorn made their first contribution in thomhurst/TUnit#5797 **Full Changelog**: thomhurst/TUnit@v1.43.2...v1.43.11 ## 1.43.2 <!-- Release notes generated using configuration in .github/release.yml at v1.43.2 --> ## What's Changed ### Other Changes * fix(assertions): emit auto-generated header in MethodAssertionGenerator output by @JohnVerheij in thomhurst/TUnit#5796 * fix(engine): enforce runtime exclusion for global [NotInParallel] (#5800) by @thomhurst in thomhurst/TUnit#5805 * feat(mocks): add Arg.AnyArgs() shortcut for setup/verify by @thomhurst in thomhurst/TUnit#5792 * fix(should): add specialized assertion sources by @thomhurst in thomhurst/TUnit#5806 ### Dependencies * chore(deps): update tunit to 1.41.0 by @thomhurst in thomhurst/TUnit#5789 * chore(deps): update microsoft.testing to 2.2.2 by @thomhurst in thomhurst/TUnit#5793 * chore(deps): update mstest to 4.2.2 by @thomhurst in thomhurst/TUnit#5794 * chore(deps): update docusaurus by @thomhurst in thomhurst/TUnit#5798 * chore(deps): update dependency dompurify to v3.4.2 by @thomhurst in thomhurst/TUnit#5799 * chore(deps): update dependency mockolate to v3 by @thomhurst in thomhurst/TUnit#5801 **Full Changelog**: thomhurst/TUnit@v1.41.0...v1.43.2 ## 1.41.0 <!-- Release notes generated using configuration in .github/release.yml at v1.41.0 --> ## TUnit Should() Assertions (beta) This versions comes with a beta version of TUnit.Assertions.Should - meaning that you can do: `myCode.Should().BeEqualTo(fluentShouldSyntax);` For more information see the docs: https://tunit.dev/docs/assertions/should-syntax ## What's Changed ### Other Changes * fix(reporters): unwrap TestFailedException for failure grouping by @thomhurst in thomhurst/TUnit#5776 * Fix item-at Satisfies source typing by @thomhurst in thomhurst/TUnit#5764 * ci(docs): add link-check automation and tighten Docusaurus strictness by @thomhurst in thomhurst/TUnit#5779 * feat: add TUnit.Assertions.Should package by @thomhurst in thomhurst/TUnit#5785 ### Dependencies * chore(deps): update tunit to 1.40.10 by @thomhurst in thomhurst/TUnit#5775 * chore(deps): update actions/cache action to v5 by @thomhurst in thomhurst/TUnit#5780 * chore(deps): update dependency microsoft.net.test.sdk to 18.5.1 by @thomhurst in thomhurst/TUnit#5784 **Full Changelog**: thomhurst/TUnit@v1.40.10...v1.41.0 Commits viewable in [compare view](thomhurst/TUnit@v1.40.10...v1.43.11). </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This PR contains the following updates:
2.8.3→2.8.4Release Notes
eemeli/yaml (yaml)
v2.8.4Compare Source
maxAliasCount:0(#677)e1a1a77)minFractionDigitsonly to decimal strings (#676)Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.